package com.avengers.core.bean.enums;

/**
 * @author yu.wang
 * @since 2019/3/13 10:15 AM
 **/
public enum HttpEnum {
    /**
     * 异步
     */
    AJAX("ajax"),
    HTTP("http://"),
    HTTPS("https://"),
    /**
     * 来访页面
     */
    REFERER("Referer"),
    X_REAL_IP("X-Real-IP"),
    PROXY_CLIENT_IP("Proxy-Client-IP"),
    UNKNOWN("unknown"),
    LOCALHOST("localhost"),
    LOCALHOST_IP("127.0.0.1"),
    X_FORWARDED_FOR("x-forwarded-for"),
    WL_PROXY_CLIENT_IP("WL-Proxy-Client-IP"),
    XML_HTTP_REQUEST("XMLHttpRequest"),
    X_REQUESTED_WITH("X-Requested-With"),
    ACCEPT("Accept"),
    USER_AGENT("user-agent"),
    CONTENT_TYPE("Content-Type"),
    CONNECTION("Connection"),
    AUTHORIZATION("Authorization"),
    KEEP_ALIVE("keep-alive"),
    APPLICATION_JSON("application/json"),
    APPLICATION_FORM("application/x-www-form-urlencoded"),
    APPLICATION_FORM_CHARSET("application/x-www-form-urlencoded; charset=UTF-8");

    public final String value;

    HttpEnum(String str) {
        this.value = str;
    }
}
